export interface AgentList {
  id: number;
  createdAt: number;
  updatedAt: number;
  nickname: string;
  remark: string;
  userId: number;
}

/**
 *  @description: bindlist info response
 */
interface BindListType {
  userId?: number;
  username?: string;
  agentList?: AgentList[];
}

/**
 *  @description: bindlist detail info response
 */
export interface BindDetail {
  id: number;
  createdAt: number;
  updatedAt: number;
  nickname: string;
  remark: string;
  userId: number;
  username: string;
  isBind: boolean;
  isDisabled?: boolean;
}
export interface BindDetailResp {
  userId: number;
  username: string;
  list: BindDetail[];
}
/**
 *  @description: bind list response
 */

export type BindListResp = BindListType;
export type BindListReq = BindListType;
